From 7729041ba00769efbbeba7e4bd10f63fac5cb55d Mon Sep 17 00:00:00 2001 From: Martin Nordholts Date: Sun, 18 Jan 2009 18:18:19 +0000 Subject: [PATCH] Add include guards. * babl/babl-component.h * babl/babl-conversion.h * babl/babl-extension.h * babl/babl-fish.h * babl/babl-format.h * babl/babl-image.h * babl/babl-model.h * babl/babl-sampling.h * babl/babl-type.h svn path=/trunk/; revision=388 --- ChangeLog | 14 ++++++++++++++ babl/babl-component.h | 5 +++++ babl/babl-conversion.h | 5 +++++ babl/babl-extension.h | 5 +++++ babl/babl-fish.h | 5 +++++ babl/babl-format.h | 5 +++++ babl/babl-image.h | 5 +++++ babl/babl-model.h | 5 +++++ babl/babl-sampling.h | 5 +++++ babl/babl-type.h | 5 +++++ 10 files changed, 59 insertions(+) diff --git a/ChangeLog b/ChangeLog index ddaa0d8..5dd3c2c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,17 @@ +2009-01-18 Martin Nordholts + + Add include guards. + + * babl/babl-component.h + * babl/babl-conversion.h + * babl/babl-extension.h + * babl/babl-fish.h + * babl/babl-format.h + * babl/babl-image.h + * babl/babl-model.h + * babl/babl-sampling.h + * babl/babl-type.h + 2009-01-18 Martin Nordholts * babl/babl-db.h: Namespace the include guard. diff --git a/babl/babl-component.h b/babl/babl-component.h index f6066e3..67e7c05 100644 --- a/babl/babl-component.h +++ b/babl/babl-component.h @@ -16,6 +16,9 @@ * . */ +#ifndef _BABL_COMPONENT_H +#define _BABL_COMPONENT_H + #ifndef _BABL_H #error this file is only to be included by babl.h #endif @@ -43,3 +46,5 @@ typedef struct int chroma; int alpha; } BablComponent; + +#endif diff --git a/babl/babl-conversion.h b/babl/babl-conversion.h index 0cfed82..ce85074 100644 --- a/babl/babl-conversion.h +++ b/babl/babl-conversion.h @@ -16,6 +16,9 @@ * . */ +#ifndef _BABL_CONVERSION_H +#define _BABL_CONVERSION_H + #ifndef _BABL_H #error this file is only to be included by babl.h #endif @@ -77,3 +80,5 @@ BablConversion { int processings; long pixels; } BablConversion; + +#endif diff --git a/babl/babl-extension.h b/babl/babl-extension.h index 3f1ca34..ec9fed1 100644 --- a/babl/babl-extension.h +++ b/babl/babl-extension.h @@ -16,6 +16,9 @@ * . */ +#ifndef _BABL_EXTENSION_H +#define _BABL_EXTENSION_H + #ifndef _BABL_H #error this file is only to be included by babl.h #endif @@ -40,3 +43,5 @@ typedef struct void *dl_handle; void (*destroy) (void); } BablExtension; + +#endif diff --git a/babl/babl-fish.h b/babl/babl-fish.h index 1333366..b04a689 100644 --- a/babl/babl-fish.h +++ b/babl/babl-fish.h @@ -16,6 +16,9 @@ * . */ +#ifndef _BABL_FISH_H +#define _BABL_FISH_H + #ifndef _BABL_H #error this file is only to be included by babl.h #endif @@ -101,3 +104,5 @@ typedef struct { BablFish fish; } BablFishReference; + +#endif diff --git a/babl/babl-format.h b/babl/babl-format.h index 90da767..7a049d1 100644 --- a/babl/babl-format.h +++ b/babl/babl-format.h @@ -16,6 +16,9 @@ * . */ +#ifndef _BABL_FORMAT_H +#define _BABL_FORMAT_H + #ifndef _BABL_H #error this file is only to be included by babl.h #endif @@ -67,3 +70,5 @@ typedef struct int visited; /* for convenience in code while searching for conversion paths */ } BablFormat; + +#endif diff --git a/babl/babl-image.h b/babl/babl-image.h index efc41fe..ca2787a 100644 --- a/babl/babl-image.h +++ b/babl/babl-image.h @@ -16,6 +16,9 @@ * . */ +#ifndef _BABL_IMAGE_H +#define _BABL_IMAGE_H + #ifndef _BABL_H #error this file is only to be included by babl.h #endif @@ -57,3 +60,5 @@ typedef struct int *pitch; int *stride; } BablImage; + +#endif diff --git a/babl/babl-model.h b/babl/babl-model.h index 844c967..41ccf5e 100644 --- a/babl/babl-model.h +++ b/babl/babl-model.h @@ -16,6 +16,9 @@ * . */ +#ifndef _BABL_MODEL_H +#define _BABL_MODEL_H + #ifndef _BABL_H #error this file is only to be included by babl.h #endif @@ -50,3 +53,5 @@ typedef struct BablType **type; /*< must be doubles, used here for convenience in code */ } BablModel; + +#endif diff --git a/babl/babl-sampling.h b/babl/babl-sampling.h index 4b67470..319d80d 100644 --- a/babl/babl-sampling.h +++ b/babl/babl-sampling.h @@ -16,6 +16,9 @@ * . */ +#ifndef _BABL_SAMPLING_H +#define _BABL_SAMPLING_H + #ifndef _BABL_H #error this file is only to be included by babl.h #endif @@ -34,3 +37,5 @@ typedef struct int vertical; char name[4]; } BablSampling; + +#endif diff --git a/babl/babl-type.h b/babl/babl-type.h index b189582..e14c109 100644 --- a/babl/babl-type.h +++ b/babl/babl-type.h @@ -16,6 +16,9 @@ * . */ +#ifndef _BABL_TYPE_H +#define _BABL_TYPE_H + #ifndef _BABL_H #error this file is only to be included by babl.h #endif @@ -67,3 +70,5 @@ typedef struct * biased_exponent * mantissa */ } BablTypeFloat; + +#endif -- 2.30.2